package Java练习.面向对象综合练习.继承;

public class Dog extends animal{
    public void lookHome() {
        System.out.println("狗看家");
    }
    public  void eat(){
        System.out.println("吃饭(吃狗粮)");
    }
    public  void drink(){
        System.out.println("喝水");
    }
}
